<?php
//获取个人信息
require "model/usersinfo.php";
$obj=new mydb();
$sql="select * from usersinfo WHERE uid='$uid'";
$arr=$obj->doquery($sql);
$obj1=new Myinfo();
$username=$obj1->getusername($arr);
$name=$obj1->getname($arr);
$imgurl=$obj1->getimgurl($arr);
$action=$obj1->getaction($arr);
?>